<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新闻编辑</title>
<link rel="stylesheet"
	href="${basePath }/admin/bower_components/bootstrap/dist/css/bootstrap.min.css">
<script src="${basePath }/admin/bower_components/ckeditor/ckeditor.js"></script>

		<script type="text/javascript">
		    window.onload = function()
		    {
		        CKEDITOR.replace( 'description');
		    };
		</script>
</head>
<body>
	<form class="form-horizontal" action="${basePath }/admin/editNews.action"
		method="post">
		
			<input type="hidden" name="id" value="${news.id }">
		
		<div class="form-group">
			<label for="InputTitle" class="col-sm-2 control-label">新闻标题</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" value="${news.title }"
					id="InputTitle" name="title" placeholder="新闻标题">
			</div>
		</div>
		

		<div class="form-group">
			<label for="InputContent" class="col-sm-2 control-label">导语</label>
			<div class="col-sm-10">
			<input type="text" name="content" class="form-control" 
			value="${news.content }" placeholder="导语">
			</div>
		</div>
		<div class="form-group">
			<label for="InputUrl" class="col-sm-2 control-label">链接地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" value="${news.url }"
					id="InputUrl" name="url" placeholder="链接地址">
			</div>
		</div>
		<div class="form-group">
			<label for="InputDetialUrl" class="col-sm-2 control-label">详细内容</label>
			<div class="col-sm-10">
		
			<textarea name="detialcontent" id="description" placeholder="详细内容"/>${news.detialcontent }</textarea>
			
			</div>
		</div>

		
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">提交</button>
			</div>
		</div>
	</form>
	
	

</body>
</html>